<template>
	<view class="page bg-white">
		<view class="main">
			<u-text color="#333" size="32rpx" text="选择性别" bold></u-text>
			<view class="margin-top-sm bg-white padding-sm">
				<up-radio-group gap="40rpx" placement="column" :borderBottom="true" iconPlacement="right" size="32rpx"
					v-model="sex">
					<up-radio labelSize="32rpx" active-color="#FFB74D" v-for="(item, index) in sexOptions" :key="item.value"
						:label="item.label" :name="item.value" />
				</up-radio-group>
			</view>
		</view>
		<view class="footer" :style="{ boxShadow: '0rpx -4rpx 36rpx 0rpx ' + themeTertiary }">
			<u-button shape="circle" size="large" :color="themePrimary" text="保存"></u-button>
		</view>
	</view>
</template>
<script setup>
import { ref } from 'vue'
import { useTheme } from '@/composables/useTheme';

const { themePrimary, themeSecondary, themeTertiary } = useTheme();

const sex = ref('')
const sexOptions = ref([
	{
		label: '男',
		value: '男'
	},
	{
		label: '女',
		value: '女'
	}
])
</script>